package one.stand.service;

import com.github.pagehelper.PageInfo;
import one.stand.model.ResultModel;
import one.stand.request.CompanyCouponRequest;
import one.stand.response.CompanyCouponResponse;

/**
 * @author: QIK
 * @CreateDate: 2019/6/24 15:16
 */
public interface CompanyCouponService {
    /**
     * 创建优惠券
     * @param request
     * @return
     */
    ResultModel<Boolean> add(CompanyCouponRequest request);

    /**
     * 修改优惠券
     * @param request
     * @return
     */
    ResultModel<Boolean> upd(CompanyCouponRequest request);


    /**
     * 删除优惠券
     * @param request
     * @return
     */
    ResultModel<Boolean> del(CompanyCouponRequest request);

    /**
     * 优惠券列表
     * @return
     */
    ResultModel<PageInfo<CompanyCouponResponse>> crmPcPageList(CompanyCouponRequest request);
}
